import request from '@/utils/request'
const prefix = 'http://192.168.2.223:4010/'

// 顾问按条件的分页查询
export function getAdviserList(data) {
  return request({
    url: prefix + 'member/getAdviserList',
    method: 'post',
    data
  })
}

// 名片按条件的分页查询
export function getBusinessCardList(data) {
  return request({
    url: prefix + 'businessCard/findList',
    method: 'post',
    data
  })
}
// 新增名片
export function addCallCard(data) {
  return request({
    url: prefix + '/businessCard',
    method: 'post',
    data
  })
}
